package com.stackexchange.webapis
{
	import com.stackexchange.webapis.enums.RankType;

	public class Badge
	{
		/**
		 * id of the badge
		 **/
		public var badgeId:int;
		
		/**
		 * rank of the badge; one of bronze, silver, or gold
		 **/
		public var rank:RankType;
		
		/**
		 * name of the badge
		 **/
		public var name:String;
		
		/**
		 * description of the badge
		 **/
		public var description:String;
		
		/**
		 * number of times awarded
		 **/
		public var awardCount:int;
		
		/**
		 * whether this badge is based on a tag
		 **/
		public var tagBased:Boolean;
		
		/**
		 * user
		 **/
		public var user:User;
		
		/**
		 * link to recipients of this badge
		 **/
		public var badgesRecipientsUrl:String;
		
	}
}